home *** CD-ROM | disk | FTP | other *** search
- vs_2_0
- // DX9 Vertex shader generated by NVIDIA Cg compiler
- // cgc version 1.3.0001, build date Jan 7 2005 14:01:35
- // command line args: -q -profile vs_2_0 -entry main -profileopts dcls
- // source file: vs2_0_hdr_light_src.cg
- // nv30vp backend compiling 'main' program
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile vs_2_0
- //program main
- //semantic main.OffsetCenter
- //semantic main.Scale
- //var float4 OffsetCenter : : c[0] : 1 : 1
- //var float4 Scale : : c[1] : 2 : 1
- //var float4 I.ScreenPos : $vin.POSITION : POSITION : 0 : 1
- //var float4 I.Normal : $vin.NORMAL : : 0 : 0
- //var float4 I.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
- //var float4 main.HPOS : $vout.POSITION : HPOS : -1 : 1
- //var float4 main.TexCoord0 : $vout.TEXCOORD0 : TEX0 : -1 : 1
- dcl_texcoord0 v1
- dcl_position v0
- mov oT0, v1
- mov oPos.w, v0
- mov r0.xyz, c0
- mad oPos.xy, v0.xy, c1.xy, r0.xy
- mov oPos.z, r0.z
- // 5 instructions
- // 1 temp registers
-